Optimal. Leaf size=89 \[ -\frac {a^7}{7 x^7}-\frac {7 a^6 b}{6 x^6}-\frac {21 a^5 b^2}{5 x^5}-\frac {35 a^4 b^3}{4 x^4}-\frac {35 a^3 b^4}{3 x^3}-\frac {21 a^2 b^5}{2 x^2}-\frac {7 a b^6}{x}+b^7 \log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {43} \begin {gather*} -\frac {21 a^5 b^2}{5 x^5}-\frac {35 a^4 b^3}{4 x^4}-\frac {35 a^3 b^4}{3 x^3}-\frac {21 a^2 b^5}{2 x^2}-\frac {7 a^6 b}{6 x^6}-\frac {a^7}{7 x^7}-\frac {7 a b^6}{x}+b^7 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rubi steps
\begin {align*} \int \frac {(a+b x)^7}{x^8} \, dx &=\int \left (\frac {a^7}{x^8}+\frac {7 a^6 b}{x^7}+\frac {21 a^5 b^2}{x^6}+\frac {35 a^4 b^3}{x^5}+\frac {35 a^3 b^4}{x^4}+\frac {21 a^2 b^5}{x^3}+\frac {7 a b^6}{x^2}+\frac {b^7}{x}\right ) \, dx\\ &=-\frac {a^7}{7 x^7}-\frac {7 a^6 b}{6 x^6}-\frac {21 a^5 b^2}{5 x^5}-\frac {35 a^4 b^3}{4 x^4}-\frac {35 a^3 b^4}{3 x^3}-\frac {21 a^2 b^5}{2 x^2}-\frac {7 a b^6}{x}+b^7 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 89, normalized size = 1.00 \begin {gather*} -\frac {a^7}{7 x^7}-\frac {7 a^6 b}{6 x^6}-\frac {21 a^5 b^2}{5 x^5}-\frac {35 a^4 b^3}{4 x^4}-\frac {35 a^3 b^4}{3 x^3}-\frac {21 a^2 b^5}{2 x^2}-\frac {7 a b^6}{x}+b^7 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b x)^7}{x^8} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.33, size = 81, normalized size = 0.91 \begin {gather*} \frac {420 \, b^{7} x^{7} \log \relax (x) - 2940 \, a b^{6} x^{6} - 4410 \, a^{2} b^{5} x^{5} - 4900 \, a^{3} b^{4} x^{4} - 3675 \, a^{4} b^{3} x^{3} - 1764 \, a^{5} b^{2} x^{2} - 490 \, a^{6} b x - 60 \, a^{7}}{420 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.27, size = 79, normalized size = 0.89 \begin {gather*} b^{7} \log \left ({\left | x \right |}\right ) - \frac {2940 \, a b^{6} x^{6} + 4410 \, a^{2} b^{5} x^{5} + 4900 \, a^{3} b^{4} x^{4} + 3675 \, a^{4} b^{3} x^{3} + 1764 \, a^{5} b^{2} x^{2} + 490 \, a^{6} b x + 60 \, a^{7}}{420 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 78, normalized size = 0.88 \begin {gather*} b^{7} \ln \relax (x )-\frac {7 a \,b^{6}}{x}-\frac {21 a^{2} b^{5}}{2 x^{2}}-\frac {35 a^{3} b^{4}}{3 x^{3}}-\frac {35 a^{4} b^{3}}{4 x^{4}}-\frac {21 a^{5} b^{2}}{5 x^{5}}-\frac {7 a^{6} b}{6 x^{6}}-\frac {a^{7}}{7 x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.36, size = 78, normalized size = 0.88 \begin {gather*} b^{7} \log \relax (x) - \frac {2940 \, a b^{6} x^{6} + 4410 \, a^{2} b^{5} x^{5} + 4900 \, a^{3} b^{4} x^{4} + 3675 \, a^{4} b^{3} x^{3} + 1764 \, a^{5} b^{2} x^{2} + 490 \, a^{6} b x + 60 \, a^{7}}{420 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 78, normalized size = 0.88 \begin {gather*} b^7\,\ln \relax (x)-\frac {\frac {a^7}{7}+\frac {7\,a^6\,b\,x}{6}+\frac {21\,a^5\,b^2\,x^2}{5}+\frac {35\,a^4\,b^3\,x^3}{4}+\frac {35\,a^3\,b^4\,x^4}{3}+\frac {21\,a^2\,b^5\,x^5}{2}+7\,a\,b^6\,x^6}{x^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.63, size = 83, normalized size = 0.93 \begin {gather*} b^{7} \log {\relax (x )} + \frac {- 60 a^{7} - 490 a^{6} b x - 1764 a^{5} b^{2} x^{2} - 3675 a^{4} b^{3} x^{3} - 4900 a^{3} b^{4} x^{4} - 4410 a^{2} b^{5} x^{5} - 2940 a b^{6} x^{6}}{420 x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________